package com.ruoyi.bak.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据库备份详情对象 bak_task_info
 * 
 * @author ruoyi
 * @date 2023-01-12
 */
public class BakTaskInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 备份开始时间 */
    @Excel(name = "备份开始时间")
    private String taskStartTime;

    /** 备份结束时间 */
    @Excel(name = "备份结束时间")
    private String taskEndTime;

    /** 备份文件名称 */
    @Excel(name = "备份文件名称")
    private String fileName;

    /** 备份文件目录 */
    @Excel(name = "备份文件目录")
    private String filePath;

    /** 备份状态 */
    @Excel(name = "备份状态")
    private String state;

    /** 预留1 */
    @Excel(name = "预留1")
    private String spare1;

    /** 预留2 */
    @Excel(name = "预留2")
    private String spare2;

    /** 预留3 */
    @Excel(name = "预留3")
    private String spare3;

    /** 预留4 */
    @Excel(name = "预留4")
    private String spare4;

    /** 预留5 */
    @Excel(name = "预留5")
    private String spare5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskStartTime(String taskStartTime) 
    {
        this.taskStartTime = taskStartTime;
    }

    public String getTaskStartTime() 
    {
        return taskStartTime;
    }
    public void setTaskEndTime(String taskEndTime) 
    {
        this.taskEndTime = taskEndTime;
    }

    public String getTaskEndTime() 
    {
        return taskEndTime;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setSpare1(String spare1) 
    {
        this.spare1 = spare1;
    }

    public String getSpare1() 
    {
        return spare1;
    }
    public void setSpare2(String spare2) 
    {
        this.spare2 = spare2;
    }

    public String getSpare2() 
    {
        return spare2;
    }
    public void setSpare3(String spare3) 
    {
        this.spare3 = spare3;
    }

    public String getSpare3() 
    {
        return spare3;
    }
    public void setSpare4(String spare4) 
    {
        this.spare4 = spare4;
    }

    public String getSpare4() 
    {
        return spare4;
    }
    public void setSpare5(String spare5) 
    {
        this.spare5 = spare5;
    }

    public String getSpare5() 
    {
        return spare5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskStartTime", getTaskStartTime())
            .append("taskEndTime", getTaskEndTime())
            .append("fileName", getFileName())
            .append("filePath", getFilePath())
            .append("state", getState())
            .append("spare1", getSpare1())
            .append("spare2", getSpare2())
            .append("spare3", getSpare3())
            .append("spare4", getSpare4())
            .append("spare5", getSpare5())
            .toString();
    }
}
